Stage 5: IAG Migration Scripts
Upgrade Itential Automation Gateway (IAG) and Ansible versions to align with the upgraded IAP version.
⚠ Note: Check the Release Notes for compatibility versions and dependencies.
Launch Automation Gateway and audit (confirm) if you are able to view existing Scripts, Modules, Playbooks and Collections.
From Automation Studio in IAP, refresh all AG Manager-Ansible tasks (i.e., modules/roles/playbooks).
- Run a workflow with the
undiscoverAll
task. - Restart the Automation Gateway adapter.
- Run a workflow with the
Run the following migration scripts from IAP.
Path
/node_modules/@itential/app-ag_manager/
Scripts
resultToStdOut
node migration_scripts/migrateAGTasks.js
ansibleAddGroups
node migration_scripts/migrateAGTasks_groups.js
addScriptEnv
node migration_scripts/migrateScriptTasks.js
⚠ Note: For automations containing Ansible tasks built prior to release 2020.2, run the following migration script. If a database backup exists, enter Y
when prompted. Then verify the automations containing the Ansible tasks execute successfully.
cd <PRONGHORN_HOME>
cd ./current/node_modules/@itential/app-ag_manager
npm run ansibleAddGroups
➤ Rollback